package cmpe451.group7.ourcity.beans;

import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

import cmpe451.group7.ourcity.entity.Tag;
import cmpe451.group7.ourcity.recommendation.FreebaseQuery;

/**
 * Bean for autocompletion purposes
 */
@ManagedBean
@ViewScoped
public class TagCompleteBean {

	public List<Tag> completeTags(String query) {
		return FreebaseQuery.completeTags(query);
	}
}
